import { createApp } from 'vue'

import App from './App.vue'
import 'virtual:svg-icons-register'
import SvgIcon from './components/SvgIcon'
// import store from './store'
import router from './router'

import "./router/navigationGuards.js"


// 导入 pinia 相关的包
import store from "./store/index.js";
// createApp(App).use(store).use(router).component('svg-icon', SvgIcon).mount('#app')
createApp(App).use(router).use(store).component('svg-icon', SvgIcon).mount('#app')
